package com.ds.springbootmybatis.mapper;

import com.ds.springbootmybatis.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: SpringBoot
 * @description:
 * @author: Dawson.Zhang
 * @create: 2020-05-12
 **/
//@Mapper
public interface EmployeeMapper {
    Employee getById(@Param("id")Integer id);
    List<Employee> getAll();
    Integer add(Employee employee);
}
